﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html;charset=utf-8"%>
<%@ include file="/pub/includ.jsp"%>
<%
	String userId = (String)request.getSession().getAttribute(com.wing.common.Constants.SESSION_USER_ID); 
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
<!--
.clear {
	clear: both;
}

img {
	border: 0px;
}

.xtgl {
	width: 47px;
	height: 176px;
	float: left;
}

.dh_middle {
	width: 90px;
	float: left;
	background: url(<%=imgPath %>/index/xtbg.png);
	padding-top: 20px;
	height:131px;
}

.dh_middle ul {
	list-style: none;
}

.dh_middle li {
	padding-left: 10px;
	line-height: 200%;
	text-align: left;
	color: #fff;
	text-align: left;
	font-size: 12px;
	border-bottom: 1px solid #164c75;
	margin-left: 5px;
	margin-right: 5px;
}

.dh_middle li a {
	color: #fff;
	text-decoration: none;
	font-size: 12px;
}


-->
</style>
<title></title>
</head>
<body style="overflow: hidden;background-color: transparent">	
					<div class="clear"></div>
					<div id="sysmgrdiv" style="width:138px;margin-top: 60px" >
						  <div class="dh_middle">
						    <ul>
						  		<li><a onclick="openDialog('wzyhgldiv','/ext/site_user','网站用户');" href="#">网站用户</a></li> 
						  		<li><a onclick="openDialog('yhgldiv','/sys/user','用户管理');" href="#">用户管理</a></li> 
						  		<li><a onclick="openDialog('yhgldiv','/ext/messageboard','留言板管理');" href="#">留言板管理</a></li> 
						  			
						  		<!-- 
						  		<li><a onclick="openDialog('mkgldiv','/sys/module','模块管理');" href="#">模块管理</a></li>
						  		<li><a onclick="openDialog('rzgldiv','/sys/operatelog','日志管理');" href="#">日志管理</a></li>
						  		<li><a onclick="openDialog('jsgldiv','/sys/role','角色管理');" href="#">角色管理</a></li>
								--> 
						  		<%if(com.wing.common.Constants.SYSTEM_SUPERADMIN_ID.equals(userId)){ %>
						  		  	<li><a onclick="openDialog('grxxdiv','/sys/user/get/mpwd','个人信息管理');" href="#">个人信息</a></li> 
						  			<li style="border-bottom: none;"><a onclick="openDialog('bmgldiv','/sys/code','编码管理');" href="#">编码管理</a></li>
								<%} else{%>
									<li style="border-bottom: none;"><a onclick="openDialog('grxxdiv','/sys/user/get/mpwd','个人信息管理');" href="#">个人信息</a></li> 
								<%} %>  
						  		
						    </ul> 
						  </div>
						  <div class="xtgl" >
							<a href="#" onclick="osysmgr();"><img src="<%=imgPath %>/index/xtglbh.png" /></a>
						  </div>
					</div>
	<script type="text/javascript">
		$(document).ready(
			function()
			{
				$('#sysmgrdiv').animate({
	                        'marginLeft':'-90px'
	                    },200);
				$('#sysmgrdiv').hover(
	                function () {
	                    $(this).stop().animate({
	                        'marginLeft':'-2px'
	                    },200);
	                },
	                function () {
	                    $(this).stop().animate({
	                        'marginLeft':'-90px'
	                    },200);
	                }
	            );  
			}
		);
		
		function openDialog(id,url,title){
			$('<div id="'+id+'" ><iframe width="100%" src="<%=path %>'+url+'" allowTransparency="true" height="100%"></iframe></div>')
		        .appendTo("body").AeroWindow({
	            WindowTitle:          '<font color=white><b>'+title+'</b></font>',
	            WindowPositionTop:    'center',
	            WindowPositionLeft:   'center',
	            WindowWidth:          550,
	            WindowHeight:         300,
	            WindowAnimationSpeed: 1000,
	            WindowAnimation:      'easeOutCubic',
	            WindowResizable:      true,
	            WindowDraggable:      true,
	            WindowMinimize:       true,
	            WindowMaximize:       true,
	            WindowStatus:         'maximized', 
	            WindowClosable:       true
	          });
		}
	</script>
</body>
</html>
